package com.info.zhiduoduo.repository.entity.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName("zdd_bank")
public class Bank  extends Model<Bank> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "bankno", type = IdType.INPUT)
	private String bankno;
	private String bankname;


	@Override
	protected Serializable pkVal() {
		return this.bankno;
	}
}
